<template>
	<view class="page">
		<view class="boxItem" v-for="(item,index) in arr" :key="index">
			<view class="title">
				<view>{{item.title}}</view>
			</view>
			<view class="aoumtArr">
				<view class="aoumtItem" v-for="(item2,index2) in item.item_list" :key="index2">
					<view class="num">
						{{item2.totals}}
					</view>
					<view class="label">
						{{item2.name}}
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				arr:[],
			};
		},
		methods:{
			getArr(){
				this.myHttp({
					url:'/fenxiao/api/Team/myData',
				}).then(res=>{
					this.arr = res.data.list
				})
			},
		},
		onLoad() {
			this.getArr()
		},
		components:{
			
		},
		
		filters:{
			
		},
	}
</script>

<style lang="scss" scoped>
.page{
	background-color: #f2f2f2;
	height: 100vh;
	@include flexCol;
	align-items: center;
	.boxItem{
		width: 700rpx;
		height: 217rpx;
		background: #FFFFFF;
		border-radius: 20rpx;
		padding: 0 27rpx;
		margin-top: 20rpx;
		@include flexCol;
		.title{
			font-size: 31rpx;
			color: #131313;
			border-bottom: 1px solid #eee ;
			height: 81rpx;
			display: flex;
			font-weight: 600;
			align-items: center;
		}
		.aoumtArr{
			display: flex;
			height: 135rpx;
			justify-content: space-around;
			.aoumtItem{
				@include flexCol;
				align-items: center;
				justify-content: center;
				.num{
					color: #000000;
					font-size: 30rpx;
					font-weight: 600;
				}
				.label{
					margin-top: 20rpx;
					color: #9B9B9B;
					font-size: 24rpx;
				}
			}
		}
		
		
	}
}
</style>
